-
Home
-
Square Sync for WooCommerce | Comprehensive Data Sync Between Square and WooCommerce
-
5.0.1
-
Code
-
Classes
- OrdersController
Total Complexity |
83 |
Dependencies |
11 |
Dependents |
3 |
Total lines |
723 |
Lines of code |
474 |
Logical lines of code |
217 |
Comment lines |
147 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_orders() |
B |
33 |
16 |
93 |
create_square_order() |
A |
41 |
11 |
52 |
getOrderFulfillments() |
A |
40 |
9 |
63 |
prepareSquareOrderData() |
A |
43 |
10 |
44 |
getOrderLineItems() |
A |
45 |
7 |
39 |
getCommonProductTaxRate() |
S |
61 |
5 |
11 |
addFeeLineItems() |
S |
55 |
4 |
19 |
formatNewCustomerData() |
S |
50 |
3 |
28 |
getProductTaxRate() |
S |
67 |
4 |
7 |
getOrCreateSquareCustomer() |
S |
58 |
3 |
15 |
payForOrder() |
S |
54 |
2 |
19 |
calculateTotalOrderTaxDetails() |
S |
57 |
2 |
17 |
getOrderDiscounts() |
S |
58 |
2 |
16 |
addShippingLineItem() |
S |
58 |
2 |
16 |
register_routes() |
S |
58 |
1 |
18 |
mapOrderStatus() |
S |
62 |
1 |
12 |
createOrderInSquare() |
S |
72 |
1 |
5 |